package com.langcollab.languagementor.controller.download
{
    import com.brightworks.error.IErrorReport;

    public class DownloadProcessErrorReport implements IErrorReport
    {
        public static const ERROR_AUDIO_FILE_NAMING:String                 = "audio_file_naming_error";
        public static const ERROR_DOWNLOAD_FAILED:String                   = "download_failed_error";
        public static const ERROR_SAVE_FILES_TO_DISK:String                = "save_files_to_disk_error";
        public static const ERROR_MP3_DATA_EXTRACTION:String               = "mp3_data_extraction_error";
        public static const ERROR_UNALLOWED_LANGUAGE_FILE_INCLUDED:String  = "unallowed_language_file_included_error";
        public static const ERROR_UNZIP_FAILED:String                      = "unzip_failed_error";

        public var bErrorReported:Boolean = false;
        public var contentProviderId:String;
        public var downloadFileExtension:String;
        public var downloadURLRoot:String;
        public var errorData_AudioFileNaming:Object = {};
        public var errorData_DownloadFailed:Object = {};
        public var errorData_MP3DataExtractionFailed:Object = {};
        public var errorData_SaveToDiskFailed:Object = {};
        public var errorData_UnallowedLanguageFileIncluded:Object = {};
        public var errorData_UnzipFailed:Object = {};
        public var errorTypeList:Array = [];
        public var publishedModuleVersionId:String;

        public function DownloadProcessErrorReport() {}
    }
}

